package com.hongyue.dey01.ChouXiang;

public class XueYuan extends XueXiao {
    @Override
    public void chiFan() {
        System.out.println("吃营养餐");
    }

    private String banJi;

    public XueYuan(String id, String xinMing, String xingBie, String nianLing, String banJi) {
        super(id, xinMing, xingBie, nianLing);
        this.banJi = banJi;
    }

    public XueYuan() {
    }

    public String getBanJi() {
        return banJi;
    }

    public void setBanJi(String banJi) {
        this.banJi = banJi;
    }
}
